using System;
using System.Collections;
using System.Collections.Generic;

using ImPM.Data.Base;

namespace ImPM.Data.BusinessObjects
{
    public partial class ProjectTask : BusinessBase<int>
    {
        #region Declarations

		
		private int _projectID = default(Int32);
		private int _taskID = default(Int32);
		
		
		
        #endregion

        #region Constructors

        public ProjectTask() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_projectID);
			sb.Append(_taskID);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual int ProjectID
        {
            get { return _projectID; }
			set
			{
				OnProjectIDChanging();
				_projectID = value;
				OnProjectIDChanged();
			}
        }
		partial void OnProjectIDChanging();
		partial void OnProjectIDChanged();
		
		public virtual int TaskID
        {
            get { return _taskID; }
			set
			{
				OnTaskIDChanging();
				_taskID = value;
				OnTaskIDChanged();
			}
        }
		partial void OnTaskIDChanging();
		partial void OnTaskIDChanged();
		
        #endregion
    }
}
